package com.le.tester.javaThink.fifth.chapter12_Collections;

import java.util.Collection;
import java.util.Collections;
import java.util.LinkedList;

/**
 * createTime：2021/8/31 17:18
 * description：ForInCollections
 */
public class ForInCollections {
    public static void main(String[] args) {
        Collection<String> cs = new LinkedList<>();

        Collections.addAll(cs, "Take the long way home".split(" "));

        for (String s : cs)
            System.out.print("'" + s + "'");
    }
}
